export class Class1 {
    constructor({ name = '' }) {
        console.log(name)
    }
}

export class Class2 {
    constructor({ name = '' }) {
        console.log(name)
    }
}